package cc.momas.momall.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class BaseController {

	@RequestMapping("/")
	private String toIndex() {
		return "index";
	}

	@RequestMapping("/{page}")
	private String toPage(@PathVariable String page) {
		return page;
	}
	

	
}
